package com.mkh.st.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "角色分配菜单搜索条件")
public class RoleMenuTreeSelectDTO implements Serializable {

	@ApiModelProperty(value = "菜单名称")
	private String name;

	@ApiModelProperty(value = "角色id")
	@NotNull(message = "角色id不能为空!")
	private Long RoleId;
}
